package com.itheima.blog.admin.service;

import com.itheima.blog.admin.entity.TWebNavbar;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.domain.PageReqDto;
import com.itheima.common.domain.PageResDto;

import java.util.List;

/**
 * <p>
 * 门户网站首页导航栏 服务类
 * </p>
 *
 * @author blog
 * @since 2023-07-11
 */
public interface ITWebNavbarService extends IService<TWebNavbar> {

    void addRoute(TWebNavbar tWebNavbar);

    void updateByRouteId(TWebNavbar tWebNavbar);

    void deleteRoute(Long id);

    PageResDto<TWebNavbar> findRouteList(PageReqDto pageReqDto);

}
